package com.rao.gmall.product.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rao.gmall.model.product.BaseTrademark;
import com.rao.gmall.product.mapper.BaseTrademarkMapper;
import com.rao.gmall.product.service.BaseTrademarkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author nzmxfan
 * @create 2021-08-03-17:08
 */
@Service
public class BaseTrademarkServiceImpl extends ServiceImpl<BaseTrademarkMapper, BaseTrademark> implements BaseTrademarkService {

    @Resource
    BaseTrademarkMapper baseTrademarkMapper;

    @Override
    public void delete(Long id) {
        baseTrademarkMapper.deleteById(id);
    }
}
